package com.dodo.blog.ui.page;

import com.dodo.blog.ui.component.container.Paragraph;

/**
 * @author <a href="mailto:pohorelec@comvai.com">Jozef Pohorelec</a>
 */
public class UnauthorizedPage
        extends AbstractPage
{
    private static final long serialVersionUID = 1L;

    @Override
    public void onRender()
    {
        setHeader( localize( "header.unauthorized" ) );

        Paragraph text = new Paragraph( localize( "text.unauthorizedAccess" ) );
        text.setAttribute( "style", "color: #a00" );
        add( text );
    }
}